//
// Created by Yang on 2023/5/28.
//

#ifndef XIAOGU_DEMO_COMMON_H
#define XIAOGU_DEMO_COMMON_H

#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include <stdlib.h>


#define INCOME "收入"
#define EXPAND "支出"
#define FILENAME "items.txt"

using namespace std;

// 通用功能函数申明

// 绘制菜单函数
void showMainMenu();
void showAccountingMenu();
void showQueryMenu();


// 读取键盘输入进行合法性校验
char readMenuSelection(int options);
char readQuitConfirm();
int readAmount();

#endif //XIAOGU_DEMO_COMMON_H
